from fastapi import FastAPI
import uvicorn

app = FastAPI()

@app.get("/")
def read_root():
    return {"message": "Hello World"}

if __name__ == "__main__":
    print("启动简单测试服务器...")
    uvicorn.run("simple_test:app", host="0.0.0.0", port=8000, reload=False)
